package com.turtle.dto;

import com.turtle.valid.group.Update;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author lijiayu
 * @date 2020/7/21
 * @description
 */
@Data
public class BlogSortParam {
    @NotNull(groups = {Update.class})
    private Long id;
    @NotBlank
    private String name;
    @NotBlank
    private String description;
    private String picUrl;
    private Integer status;
}
